<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert title here</title>
		<link href="css/table.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
		<script src="js/My97DatePicker/WdatePicker.js" type="text/javascript"
			language="javascript"></script>
		<script type="text/javascript">
		function updateBook(){
			$.post("updateUser_book.action",$("form").serialize(),function(data){
				if(data=='success'){
				alert("修改成功");
				window.location="updatebook.action";
				}else{
					alert("添加失败");
				}
			});
		}
		</script>
	</head>
	<body>
		<table align="left" border="0" cellpadding="0" cellspacing="0"
			width="60%">
			<tbody>
				<tr>
					<td style="background: url('image/wsoa_window_002.gif');" width="1"></td>
					<td style="background: url('image/wsoa_window_002.gif');">
						<table border="0" cellpadding="0" cellspacing="0">
							<tbody>
								<tr>
									<td align="center"
										style="background: url('image/wsoa_window_002.gif');"
										width="10">
										<img src="image/center_19.gif">
									</td>
									<td align="center"
										style="background: url('image/wsoa_window_002.gif');"></td>
									<td>个人信息</td>
								</tr>
							</tbody>
						</table>
					</td>
					<td style="background: url('image/wsoa_window_002.gif');" width="1"></td>
				</tr>
				<tr>
					<td style="background: url('image/wsoa_window_010.gif');" width="1">
						&nbsp;
					</td>
					<td>
						<form method="post" action="">
							<input type="hidden" id="currentPage" value="${currentPage}">
							<input type="hidden" name="id" value="${user.id }" />
							<div id="top"></div>
							<div id="bottom">
								<table style="width: 100%;" align="center" border="0"
									height="15">
									<tbody>
										<tr>
											<td></td>
										</tr>
									</tbody>
								</table>
								<table style="width: 100%;" class="table5" align="center">
									<tbody>
										<tr>
											<td class="table5 bgcolor5" align="right" width="80px">
												<font color="red">*</font>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名
											</td>
											<td class="table5" align="left">
												&nbsp;
												<input readonly="readonly" name="user.name"
													value="${user.name}" style="width: 200px;" type="text">
											</td>
										</tr>
										<tr>
											<td class="table5 bgcolor5" align="right" width="80px">
												帐&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号
											</td>
											<td class="table5" colspan="3" align="left">
												&nbsp;
												<input readonly="readonly" name="user.account"
													value="${user.account }" style="width: 200px;" type="text">
											</td>
										</tr>
										<tr>
											<td class="table5 bgcolor5" align="right" width="80px">
												手&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;机
											</td>
											<td class="table5" align="left">
												&nbsp;
												<input name="user.phone" value="${user.phone}"
													maxlength="20" style="width: 200px;" title="该输入项的最大长度是20"
													type="text">
											</td>
										</tr>
										<tr>
											<td class="table5 bgcolor5" align="right" width="80px">
												电&nbsp;子&nbsp;邮&nbsp;件
											</td>
											<td class="table5" align="left">
												&nbsp;
												<input name="user.email" value="${user.email }"
													maxlength="100" style="width: 200px;" title="该输入项的最大长度是100"
													type="text">
											</td>
										</tr>
										<tr>
											<td class="table5 bgcolor5" align="right" width="80px">
												电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话
											</td>
											<td class="table5" align="left">
												&nbsp;
												<input name="user.telephone" value="${user.telephone }"
													maxlength="50" style="width: 200px;" title="该输入项的最大长度是50"
													type="text">
											</td>
										</tr>
									</tbody>
								</table>
								<table style="width: 100%;" align="left" border="0">
									<tbody>
										<tr>
											<td align="center">
												<span id="errorId"></span>
											</td>
										</tr>
										<tr>
											<td align="center">
												<input accesskey="t" value="提交" class="button_02"
													type="button" onclick="updateBook()">
											</td>
										</tr>
									</tbody>
								</table>
							</div>
						</form>
					</td>
					<td style="background: url('image/wsoa_window_006.gif');" width="1">
						&nbsp;
					</td>
				</tr>
				<tr>
					<td height="1" width="1">
						<img src="image/wsoa_window_009.gif" height="16" width="14">
					</td>
					<td style="background: url('image/wsoa_window_008.gif');"
						height="1"></td>
					<td height="1" width="1">
						<img src="image/wsoa_window_007.gif" height="16" width="12">
					</td>
				</tr>
			</tbody>
		</table>
	</body>
</html>